#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <windows.h>
#include <stdlib.h>
#include <time.h>
#define HANG 9
#define LIE 9
#define leishu 10
void menu_saolei();
void shuru();
void game(int hang, int lie);
void chushihua(char arr[HANG][LIE], int hang, int lie);
void display(char arr[HANG][LIE], int hang, int lie);
void jiance(int hang, int lie, int i, int j);
void mailei(char arr[HANG + 2][LIE + 2], int hang, int lie);
void chushihua2(char arr[HANG + 2][LIE + 2], int hang, int lie);
void chalei();
void panduan();
void guanji();
int quxiao();
void menu_guanji();
int hexing_guanji();
void guanji1();
void menu();
int panduan2(int i,int j,char p,char l);
void game_wuziqi();
void display_wuziqi(char arr[9][9],int hang,int lie);
int shuru_wuziqi_palyer(char arr[9][9]);
int shuru_wuziqi_computer(char arr[9][9]);
int panduan_wuziqi(char arr[9][9], char a);
void chushihua_wuziqi(char arr[9][9]);
void tixing();




